﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace ChuangDu_Spirit_QGB
{
    public class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            routes.MapRoute(
                "Default",
                "{controller}/{action}/{id}",
                new { controller = "Command", action = "ZhuanHuan", id = UrlParameter.Optional },
                new[] { "ChuangDu_Spirit_QGB.Areas.Sprintzwl.Controllers" }// 这个是你控制器所在命名空间  
           ).DataTokens.Add("area", "Sprintzwl");
        }
    }
}
